package com.example.jdai.jdai.ui;

import android.app.Activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.example.jdai.jdai.MyApplication;
import com.example.jdai.jdai.R;

import butterknife.BindView;
import butterknife.ButterKnife;

public class NetErrorActivity extends Activity {

    @BindView(R.id.tb)
    TopBar tb;
    @BindView(R.id.tv_neterror)
    TextView tvNeterror;
    @BindView(R.id.activity_about)
    LinearLayout activityAbout;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_net_error);
        ButterKnife.bind(this);
        MyApplication.backRest.getAbout(this);
        tb.setTopBarLisener(new TopBar.TopBarLisener() {
            @Override
            public void back() {
                finish();
            }

            @Override
            public void more() {

            }
        });
    }
}
